p id="notice" = notice
h1 style="padding-bottom: 20px;" 修改密码

= simple_form_for([:admin, @user],url: admin_passwords_update_path, method: :put,  html: { class: 'form-horizontal' }) do |f|
  = f.error_notification

  div
    = f.input :password, label: '密码'
    = f.input :password_confirmation, label: '确认密码'
    = f.input :current_password, label: '当前密码'
    hr
    = f.button :submit, '确定', class: "pull-left btn btn-primary", role: 'button'
